﻿@model PublishViewModel
@using Webdiyer.WebControls.Mvc
@using You.Niao.ShaFa.Model;

@using Common;


@{
    ViewBag.Title = "publish";
    Layout = "~/Views/Shared/HeadPage.cshtml";
}
@section head{
     <script src="/Js/Calendar.js"></script>
    }


<!--内容 start-->
<div class="main">
	<div class="aLd"><a href="/Sofa/MySofa">提供沙发</a><a href="#" id="aLd_current">相约同行</a><a href="#">游玩分享</a></div>
    <div class="aRd"><a href="#"><img src="/images/dd2.gif" />意见反馈</a><a href="/User/Account" style="width:80px;"><img src="/images/dd1.gif" />设 置</a></div>
    <div class="wborder">
     	<span class="dlA"><a href="/Sofa/MeetTogether">我的相约同行</a><a id="dlHover" href="/Sofa/Publish">发布相约同行</a></span> 
   	  <div class="dTitle">请您选择相约同行的地点</div>
      <p><select id="province" name=""></select>　<select id="city" name=""></select>　<select id="area" name=""></select></p>
      <p class="zti">在 广东省-深圳市-罗湖区 共有 <strong class="blue">4</strong> 个同行主题</p>


        <div id="U_publish">
     
     @*   @if(Model.publishList.Count>0)
        {
            foreach(var m in Model.publishList)
            {
         <div class="publish">
        	<div class="pleft">
            <img src="@string.Format("{0}Avatar/{1}/.jpg",UrlAdmin.GetUrl("Avataraddress"),m.UserID)" />
            <p class="names">@m.NickName</p>
            @m.Title
          </div>
        	<div class="pright">还剩 1 天 2小时 53 分 <a href="#" id="pt1">详细</a>　<a href="#" id="pt2">编辑</a></div>
        </div>
         <div class="Added">
        	<div class="aLt">已加入</div>
          <div class="aRt"><a href="#"><img src="/images/photo/5.gif" /></a><a href="#"><img src="/images/photo/6.gif" /></a></div>
        </div>
            }
        
        }*@
           
            </div>

@*        <div class="line1"> @Html.Pager(Model, new PagerOptions { PageIndexParameterName = "CurrentPage", NumericPagerItemCount=9, ShowFirstLast = false })</div>    *@
        <br/> <br/>
       

                

        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="100" class="cTitle">加入截至日期</td>
            <td width="220">
            <div class="Calendar"><input name="startDate" id="startDate" type="text" class="text_input" readonly="readonly" style="width:170px; margin-bottom:10px;" value=""  /><img src="/images/calendar.jpg" width="32" height="33"  onClick="MyCalendar.SetDate(this,document.getElementById('startDate'));" alt="点击设置日期" /></div>
            </td>
            <td width="577" style="color:#aaaaaa;"><label id="lblMessage" style="color:red;"></label>&nbsp;设定加入同游失效日期</td>
          </tr>
          <tr><td colspan="3" height="25"></td>
          </tr>
          <tr>
            <td class="cTitle">同行标题</td>
            <td colspan="2"><input id="Title" name="" type="text" class="text_input" style="width:785px;" /></td>
            </tr>
          <tr><td colspan="3" height="25"></td>
          </tr>
          <tr>
            <td class="cTitle" valign="top">同行描述</td>
            <td colspan="2">
<textarea id="Description" class="text_input1">
我找沙发 沙发城市:      云南
沙发情况:      客厅我也不介意
饮食需求:      AA制品尝当地特色
沙发时间:      2012-08-20
沙发天数:      2 天
沙发人数:      2 人
导游需求:      指点迷津，我可以少走弯路
联系方式:      隐藏内容
其他需求:      有空调最理想,风扇也行
8月中旬我</textarea>
        </td>
            </tr>
          <tr><td colspan="3" height="40"></td>
          </tr>
          <tr>
            <td colspan="3" align="center"><input id="Publish" name="" type="button" class="bnt3" value="提交" /></td>
            </tr>
        </table>
      
    <br/><br/><br/><br/><br/><br/><br/>
    
  </div>
</div>
<!--内容 end-->


@section foot{
    <script src="/Js/sofa/PublishSofa.js"></script>
    }